[%if count($array)>0 || count($array_top)>0 %]
<table class="table table-hover">
	<thead>
		<tr class="bg_feishe kill_copy">
			<th class="text-center table_width_100 sort_field" sort-field="skid">[%pack:public_pack-espcms_lable_id_name%]</th>
			<th class="text-center">[%pack:skin_pack-espcms_webskin_skin_name%]</th>
			<th class="text-center">[%pack:skin_pack-espcms_webskin_skin_code%]</th>
			<th class="text-center">[%pack:skin_pack-espcms_webskin_iswap%]</th>
			<th class="text-center">[%pack:skin_pack-espcms_webskin_isclass%]</th>
			<th class="text-center">[%pack:public_pack-espcms_lable_addtime%]</th>
			<th class="text-center table_width_180">[%pack:public_pack-espcms_lable_control_name%]</th>
		</tr>
	</thead>
	<tbody id="sortable">
		[%forlist from=$array key=i%]
		<tr data-id="[%$array[i].skid%]" data-pid="[%$array[i].pid%]" class="selecticon">
			<td class="text-center">[%$array[i].skid%]</td>
			<td class="text-center">[%$array[i].skin_name%]</td>
			<td class="text-center">[%$array[i].skin_code%]</td>
			<td class="text-center">
				[%if $array[i].iswap==1%]
				<span class="text-blue">[%pack:skin_pack-espcms_webskin_iswap_1%]</span>
				[%else%]
				<span class="text-ashes">[%pack:skin_pack-espcms_webskin_iswap_0%]</span>
				[%/if%]
			</td>
			<td class="text-center">
				[%if $array[i].isclass==1%]
				<span class="text-green">[%pack:public_pack-espcms_lable_open%]</span>
				[%else%]
				<span class="text-orange">[%pack:public_pack-espcms_lable_disable%]</span>
				[%/if%]
			</td>
			<td class="text-center">[%$array[i].addtime|espcms_timeformat(9)%]</td>
			<td class="text-center kill_copy">
				[%if @this->power('openWebSkin')%]
				<button type="button" class="btn btn-green btn-padding10 btn-xs info_set" data-id="[%$array[i].skid%]"[%if $array[i].isclass==1%] disabled[%/if%]>[%pack:skin_pack-espcms_webskin_button_set%]</button>
				[%/if%]
				[%if @this->power('delWebSkin')%]
				<button type="button" class="btn btn-orange btn-padding10 btn-xs info_del" data-id="[%$array[i].skid%]" [%if $array[i].isclass==1%] disabled[%/if%]><span class="espcms_icon_fa espcms_icon_fa-trash-o" aria-hidden="true"></span>[%pack:skin_pack-espcms_webskin_button_del%]</button>
				[%/if%]
			</td>
		</tr>
		[%/forlist%]
	</tbody>
</table>
[%else%]
<table class="table table-hover" id="tablelist">
	<tbody>
		<tr class="selecticon">
			<td class="text-center bort0" colspan="20">[%pack:public_pack-espcms_no_infomessage%]</td>
		</tr>
	</tbody>
</table>
[%/if%]